package org.snail.attendence.bean;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class AttendanceCondition {


    private Long deptId;
    private Integer empId;
    private Integer commId;
    private Integer countId;
    private String employeeName;//员工姓名
    private String order;        //班次
    private String beginDate;   //考勤开始日期
    private String endDate;     //考勤结束日期
    private Integer startPage;    //起始页
    private Integer pageSize;     //每页显示的数量
    private Date date;
    private String ymDate;
    public AttendanceCondition() {
    }
    public String getEmployeeName() {
        if("undefined".equalsIgnoreCase(employeeName)){
            employeeName=null;
        }
        return employeeName;
    }
}